package cn.cuilan.entity;

import cn.cuilan.base.BaseEntity;

import javax.persistence.Entity;
import java.io.Serializable;

/**
 * 区域表
 *
 * @author zhangyue
 */
@Entity
public class PositionArea extends BaseEntity<Long> implements Serializable {

    /**
     * 区域代码
     */
    private int areaCode;

    /**
     * 区域名称
     */
    private String areaName;

    /**
     * t_position_province(省份表)
     */
    private int provinceId;

    public PositionArea() {
    }

    public PositionArea(int areaCode, String areaName, int provinceId) {
        this.areaCode = areaCode;
        this.areaName = areaName;
        this.provinceId = provinceId;
    }

    public int getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(int areaCode) {
        this.areaCode = areaCode;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public int getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(int provinceId) {
        this.provinceId = provinceId;
    }

}
